<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      .box {
        width: 184px;
        height: 330px;
        /* border: 1px solid #000; */
        background: url(./2.png) no-repeat 0 0;
      }

      @keyframes move {
        0% {
          background-position: -184px 0;
        }

        100% {
          background-position: -1472px 0;
        }
      }

      @keyframes moing {
        0% {
          transform: translate(0, 0);
        }

        49% {
          transform: translateX(700px);
        }
        50% {
          transform: translateX(700px) rotateY(180deg);
        }

        100% {
          transform: translateX(0px) rotateY(180deg);
        }
      }

      .box {
        animation: move 0.5s steps(7) infinite, moing 3s infinite;
      }
    </style>
  </head>
  <body>
    <div class="box"></div>
  </body>
</html>
